package com.xxx.modules.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.github.pagehelper.PageInfo;
import com.xxx.modules.entity.Comment;

import java.util.List;

public interface CommentService  extends IService<Comment> {

    PageInfo<Comment> selectCommentInfo(Comment comment, Integer pageNum, Integer pageSize);

    void saveCommentInfo(Comment comment);

    void updateCommentInfo(Comment comment);

    void delCommentInfo(Integer id);

    void delBatchCommentInfo(String idList);

    List<Comment> getListByPage(Integer id);

//    int getCommentNum(Integer id);
}
